<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
    .list {
        width: 200px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px 20px;
    }
    .list .item {
        width: 80px;
        height: 50px;
        background-color: red;
    }
</style>
<body>
    <div class="list">
      <div class="item">1</div>
      <div class="item">1</div>
      <div class="item">1</div>
      <div class="item">1</div>
      <div class="item">1</div>
      <div class="item">1</div>
      <div class="item">1</div>
      <div class="item">1</div>
      <div class="item">1</div>
      <div class="item">1</div>
      <div class="item">1</div>
      <div class="item">1</div>
      <div class="item">1</div>
      <div class="item">1</div>
    </div>
</body>
</html>

